home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / System Extras Headers / GX Headers / font routines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  6.9 KB  |  131 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        font routines.h
  3.  
  4.     Copyright:    © 1984-1994 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef fontRoutinesIncludes
  13. #define fontRoutinesIncludes
  14.  
  15.     #ifndef mathTypesIncludes
  16. #include "math types.h"
  17. /*    #include <Types.h>                                            */
  18. /*        #include <ConditionalMacros.h>                            */
  19. /*        #include <MixedMode.h>                                    */
  20. /*            #include <Traps.h>                                    */
  21.     #endif
  22.  
  23.     #ifndef fontTypesIncludes
  24. #include "font types.h"
  25.     #endif
  26.  
  27.     #ifndef graphicsLinkageIncludes
  28. #include "graphics linkage.h"
  29.     #endif
  30.  
  31.     #ifdef __cplusplus
  32. extern "C" {
  33.     #endif
  34.  
  35. extern gxFont GXNewFont(gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute attributes)
  36.  THREEWORDINLINE(0x303C, 0x201, 0xA832);
  37. extern gxFontStorageTag GXGetFont(gxFont fontID, gxFontStorageReference *reference, gxFontAttribute *attributes)
  38.  THREEWORDINLINE(0x303C, 0x202, 0xA832);
  39. extern gxFont GXFindFont(gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute *attributes)
  40.  THREEWORDINLINE(0x303C, 0x203, 0xA832);
  41. extern void GXSetFont(gxFont fontID, gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute attributes)
  42.  THREEWORDINLINE(0x303C, 0x204, 0xA832);
  43. extern void GXDisposeFont(gxFont fontID)
  44.  THREEWORDINLINE(0x303C, 0x205, 0xA832);
  45. extern void GXChangedFont(gxFont fontID)
  46.  THREEWORDINLINE(0x303C, 0x206, 0xA832);
  47. extern gxFontFormatTag GXGetFontFormat(gxFont fontID)
  48.  THREEWORDINLINE(0x303C, 0x207, 0xA832);
  49. extern gxFont GXGetDefaultFont(void)
  50.  THREEWORDINLINE(0x303C, 0x208, 0xA832);
  51. extern gxFont GXSetDefaultFont(gxFont fontID)
  52.  THREEWORDINLINE(0x303C, 0x209, 0xA832);
  53. extern long GXFindFonts(gxFont familyID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, long length, const unsigned char text[], long index, long count, gxFont fonts[])
  54.  THREEWORDINLINE(0x303C, 0x20a, 0xA832);
  55. extern long GXCountFontGlyphs(gxFont fontID)
  56.  THREEWORDINLINE(0x303C, 0x20b, 0xA832);
  57. extern long GXCountFontTables(gxFont fontID)
  58.  THREEWORDINLINE(0x303C, 0x20c, 0xA832);
  59. extern long GXGetFontTable(gxFont fontID, long index, void *tableData, gxFontTableTag *tableTag)
  60.  THREEWORDINLINE(0x303C, 0x20d, 0xA832);
  61. extern long GXFindFontTable(gxFont fontID, gxFontTableTag tableTag, void *tableData, long *index)
  62.  THREEWORDINLINE(0x303C, 0x20e, 0xA832);
  63. extern long GXGetFontTableParts(gxFont fontID, long index, long offset, long length, void *tableData, gxFontTableTag *tableTag)
  64.  THREEWORDINLINE(0x303C, 0x20f, 0xA832);
  65. extern long GXFindFontTableParts(gxFont fontID, gxFontTableTag tableTag, long offset, long length, void *tableData, long *index)
  66.  THREEWORDINLINE(0x303C, 0x210, 0xA832);
  67. extern long GXSetFontTable(gxFont fontID, long index, gxFontTableTag tableTag, long length, const void *tableData)
  68.  THREEWORDINLINE(0x303C, 0x211, 0xA832);
  69. extern long GXSetFontTableParts(gxFont fontID, long index, gxFontTableTag tableTag, long offset, long oldLength, long newLength, const void *tableData)
  70.  THREEWORDINLINE(0x303C, 0x212, 0xA832);
  71. extern long GXDeleteFontTable(gxFont fontID, long index, gxFontTableTag tableTag)
  72.  THREEWORDINLINE(0x303C, 0x213, 0xA832);
  73. extern long GXCountFontNames(gxFont fontID)
  74.  THREEWORDINLINE(0x303C, 0x214, 0xA832);
  75. extern long GXGetFontName(gxFont fontID, long index, gxFontName *name, gxFontPlatform *platform, gxFontScript *script, gxFontLanguage *language, unsigned char text[])
  76.  THREEWORDINLINE(0x303C, 0x215, 0xA832);
  77. extern long GXFindFontName(gxFont fontID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, unsigned char text[], long *index)
  78.  THREEWORDINLINE(0x303C, 0x216, 0xA832);
  79. extern long GXSetFontName(gxFont fontID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, long length, const unsigned char text[])
  80.  THREEWORDINLINE(0x303C, 0x217, 0xA832);
  81. extern long GXDeleteFontName(gxFont fontID, long index, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
  82.  THREEWORDINLINE(0x303C, 0x218, 0xA832);
  83. extern gxFontName GXNewFontNameID(gxFont fontID)
  84.  THREEWORDINLINE(0x303C, 0x219, 0xA832);
  85. extern long GXCountFontEncodings(gxFont fontID)
  86.  THREEWORDINLINE(0x303C, 0x21a, 0xA832);
  87. extern gxFontPlatform GXGetFontEncoding(gxFont fontID, long index, gxFontScript *script, gxFontLanguage *language)
  88.  THREEWORDINLINE(0x303C, 0x21b, 0xA832);
  89. extern long GXFindFontEncoding(gxFont fontID, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
  90.  THREEWORDINLINE(0x303C, 0x21c, 0xA832);
  91. extern long GXApplyFontEncoding(gxFont fontID, long index, long *length, const unsigned char text[], long count, unsigned short glyphs[], char was16Bit[])
  92.  THREEWORDINLINE(0x303C, 0x21d, 0xA832);
  93. extern long GXCountFontVariations(gxFont)
  94.  THREEWORDINLINE(0x303C, 0x21e, 0xA832);
  95. extern long GXFindFontVariation(gxFont, gxFontVariationTag variationTag, Fixed *minValue, Fixed *defaultValue, Fixed *maxValue, gxFontName *name)
  96.  THREEWORDINLINE(0x303C, 0x21f, 0xA832);
  97. extern gxFontVariationTag GXGetFontVariation(gxFont, long index, Fixed *minValue, Fixed *defaultValue, Fixed *maxValue, gxFontName *name)
  98.  THREEWORDINLINE(0x303C, 0x220, 0xA832);
  99. extern long GXCountFontInstances(gxFont)
  100.  THREEWORDINLINE(0x303C, 0x221, 0xA832);
  101. extern gxFontName GXGetFontInstance(gxFont, long index, gxFontVariation variation[])
  102.  THREEWORDINLINE(0x303C, 0x222, 0xA832);
  103. extern long GXSetFontInstance(gxFont fontID, long index, gxFontName name, const gxFontVariation variation[])
  104.  THREEWORDINLINE(0x303C, 0x223, 0xA832);
  105. extern long GXDeleteFontInstance(gxFont fontID, long index, gxFontName name)
  106.  THREEWORDINLINE(0x303C, 0x224, 0xA832);
  107. extern long GXCountFontDescriptors(gxFont fontID)
  108.  THREEWORDINLINE(0x303C, 0x225, 0xA832);
  109. extern gxFontDescriptorTag GXGetFontDescriptor(gxFont fontID, long index, Fixed *descriptorValue)
  110.  THREEWORDINLINE(0x303C, 0x226, 0xA832);
  111. extern long GXFindFontDescriptor(gxFont fontID, gxFontDescriptorTag descriptorTag, Fixed *descriptorValue)
  112.  THREEWORDINLINE(0x303C, 0x227, 0xA832);
  113. extern long GXSetFontDescriptor(gxFont fontID, long index, gxFontDescriptorTag descriptorTag, Fixed descriptorValue)
  114.  THREEWORDINLINE(0x303C, 0x228, 0xA832);
  115. extern long GXDeleteFontDescriptor(gxFont fontID, long index, gxFontDescriptorTag descriptorTag)
  116.  THREEWORDINLINE(0x303C, 0x229, 0xA832);
  117. extern long GXCountFontFeatures(gxFont fontID)
  118.  THREEWORDINLINE(0x303C, 0x22a, 0xA832);
  119. extern gxFontName GXGetFontFeature(gxFont fontID, long index, gxFontFeatureFlag *flags, long *settingCount, gxFontFeatureSetting settings[], gxFontFeature *feature)
  120.  THREEWORDINLINE(0x303C, 0x22b, 0xA832);
  121. extern gxFontName GXFindFontFeature(gxFont fontID, gxFontFeature feature, gxFontFeatureFlag *flags, long *settingCount, gxFontFeatureSetting settings[], long *index)
  122.  THREEWORDINLINE(0x303C, 0x22c, 0xA832);
  123. extern void GXFlattenFont(gxFont source, struct scalerStream *stream, struct gxSpoolBlock *block)
  124.  THREEWORDINLINE(0x303C, 0x22d, 0xA832);
  125.     #ifdef __cplusplus
  126. }
  127.     #endif
  128.  
  129. #endif
  130.  
  131.